﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C4D RID: 3149
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MusicRhythmUnlockTrackScNotify : IMessage<MusicRhythmUnlockTrackScNotify>, IMessage, IEquatable<MusicRhythmUnlockTrackScNotify>, IDeepCloneable<MusicRhythmUnlockTrackScNotify>, IBufferMessage
	{
		// Token: 0x170027AE RID: 10158
		// (get) Token: 0x06008CC9 RID: 36041 RVA: 0x001764A1 File Offset: 0x001746A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MusicRhythmUnlockTrackScNotify> Parser
		{
			get
			{
				return MusicRhythmUnlockTrackScNotify._parser;
			}
		}

		// Token: 0x170027AF RID: 10159
		// (get) Token: 0x06008CCA RID: 36042 RVA: 0x001764A8 File Offset: 0x001746A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MusicRhythmUnlockTrackScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170027B0 RID: 10160
		// (get) Token: 0x06008CCB RID: 36043 RVA: 0x001764BA File Offset: 0x001746BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MusicRhythmUnlockTrackScNotify.Descriptor;
			}
		}

		// Token: 0x06008CCC RID: 36044 RVA: 0x001764C1 File Offset: 0x001746C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmUnlockTrackScNotify()
		{
		}

		// Token: 0x06008CCD RID: 36045 RVA: 0x001764D4 File Offset: 0x001746D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmUnlockTrackScNotify(MusicRhythmUnlockTrackScNotify other) : this()
		{
			this.trackUnlockList_ = other.trackUnlockList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008CCE RID: 36046 RVA: 0x001764FE File Offset: 0x001746FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmUnlockTrackScNotify Clone()
		{
			return new MusicRhythmUnlockTrackScNotify(this);
		}

		// Token: 0x170027B1 RID: 10161
		// (get) Token: 0x06008CCF RID: 36047 RVA: 0x00176506 File Offset: 0x00174706
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> TrackUnlockList
		{
			get
			{
				return this.trackUnlockList_;
			}
		}

		// Token: 0x06008CD0 RID: 36048 RVA: 0x0017650E File Offset: 0x0017470E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MusicRhythmUnlockTrackScNotify);
		}

		// Token: 0x06008CD1 RID: 36049 RVA: 0x0017651C File Offset: 0x0017471C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MusicRhythmUnlockTrackScNotify other)
		{
			return other != null && (other == this || (this.trackUnlockList_.Equals(other.trackUnlockList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008CD2 RID: 36050 RVA: 0x00176550 File Offset: 0x00174750
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.trackUnlockList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008CD3 RID: 36051 RVA: 0x00176584 File Offset: 0x00174784
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008CD4 RID: 36052 RVA: 0x0017658C File Offset: 0x0017478C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008CD5 RID: 36053 RVA: 0x00176595 File Offset: 0x00174795
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.trackUnlockList_.WriteTo(ref output, MusicRhythmUnlockTrackScNotify._repeated_trackUnlockList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008CD6 RID: 36054 RVA: 0x001765BC File Offset: 0x001747BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.trackUnlockList_.CalculateSize(MusicRhythmUnlockTrackScNotify._repeated_trackUnlockList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008CD7 RID: 36055 RVA: 0x001765F5 File Offset: 0x001747F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MusicRhythmUnlockTrackScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.trackUnlockList_.Add(other.trackUnlockList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008CD8 RID: 36056 RVA: 0x00176623 File Offset: 0x00174823
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008CD9 RID: 36057 RVA: 0x0017662C File Offset: 0x0017482C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U && num != 34U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.trackUnlockList_.AddEntriesFrom(ref input, MusicRhythmUnlockTrackScNotify._repeated_trackUnlockList_codec);
				}
			}
		}

		// Token: 0x040035C6 RID: 13766
		private static readonly MessageParser<MusicRhythmUnlockTrackScNotify> _parser = new MessageParser<MusicRhythmUnlockTrackScNotify>(() => new MusicRhythmUnlockTrackScNotify());

		// Token: 0x040035C7 RID: 13767
		private UnknownFieldSet _unknownFields;

		// Token: 0x040035C8 RID: 13768
		public const int TrackUnlockListFieldNumber = 4;

		// Token: 0x040035C9 RID: 13769
		private static readonly FieldCodec<uint> _repeated_trackUnlockList_codec = FieldCodec.ForUInt32(34U);

		// Token: 0x040035CA RID: 13770
		private readonly RepeatedField<uint> trackUnlockList_ = new RepeatedField<uint>();
	}
}
